<HTML><HEAD><TITLE>?Sterm `< ?Sterm1</TITLE>
</HEAD><BODY>[ <A HREF="index.html">library(conjunto)</A> | <A HREF="../../index.html">Reference Manual</A> | <A HREF="../../fullindex.html">Alphabetic Index</A> ]
<H1>?Sterm `< ?Sterm1</H1>
Sterm is a subset of Sterm1.


<DL>
<DT><EM>?Sterm</EM></DT>
<DD>A set term.
</DD>
<DT><EM>?Sterm1</EM></DT>
<DD>A set term.
</DD>
</DL>
<H2>Description</H2>
   This constraint states that the set term Sterm has to be a subset of the
   set term Sterm1.  If both terms are known sets, this constraint checks
   the inclusion.  If either Sterm or Sterm1 is a known set, this
   constraint checks the inclusion and the unconsistent bounds of the set
   variables involved are modified.  If both terms contain set variables
   their domain bounds are checked and the constraint is delayed.  It is
   activated as soon as the upper bound of Sterm1 or the lower bound of
   Sterm is modified.

<P>

<H3>Fail Conditions</H3>
   Fails if Sterm can not be a subset of Sterm1.


<H3>Resatisfiable</H3>
   No.
<H2>Examples</H2>
<PRE>
[eclipse 3]: S `:: {1}.. {1,2,3,4}, S1 `:: {} .. {1,2,3},
 S `&lt; S1.

S1 = S1{{1} .. {1, 2, 3}}
S = S{{1} .. {1, 2, 3}}

Delayed goals:
       S1{{1} .. {1, 2, 3}} sub_s S{{1} .. {1, 2, 3}}
yes.



</PRE>
<H2>See Also</H2>
<A HREF="../../lib/conjunto/BNN-2.html">`:: / 2</A>
</BODY></HTML>
